package cn.imu.implemrntIOC.constructorInjectImpl;

import cn.imu.implemrntIOC.GeLi;

public class MoAttack {
    private GeLi geLi;
    //使用构造函数注入
    public MoAttack(GeLi geLi){
        this.geLi=geLi;
    }

    public void cityGateAsk(){
        geLi.responseAsk("墨者革离");
    }

}
